package com.probox.common.entity.domain.customer;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import com.probox.common.core.annotation.Excel;

/**
 * 客户资金历史记录对象 customer_fund_history
 *
 * @author usoft
 * @date 2021-07-19
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("customer_fund_history")
@ApiModel(description = "客户资金历史记录")
public class CustomerFundHistory implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "HIS_UID", type = IdType.AUTO)
    private Long hisUid;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long customerUid;

    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID")
    private Long platformUid;

    /**
     * 合计收益
     */
    @Excel(name = "合计收益")
    @ApiModelProperty(value = "合计收益")
    private Long allProfit;

    /**
     * 合计提现
     */
    @Excel(name = "合计提现")
    @ApiModelProperty(value = "合计提现")
    private Long allWithdraw;

    /**
     * 总积分
     */
    @Excel(name = "总积分")
    @ApiModelProperty(value = "总积分")
    private Long allScore;

    /**
     * 粉丝数量
     */
    @Excel(name = "粉丝数量")
    @ApiModelProperty(value = "粉丝数量")
    private Long allFreeze;

    /**
     * 余额
     */
    @Excel(name = "余额")
    @ApiModelProperty(value = "余额")
    private Long allBalance;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date optTime;

    /**
     * 备注信息
     */
    @Excel(name = "备注信息")
    @ApiModelProperty(value = "备注信息")
    private String optRemark;


}
